package com.sy.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * description: Subject <br>
 * date: 2022/6/24 1:01 AM <br>
 * author: zoumaoji <br>
 * version: 1.0 <br>
 */
@Data
public class Subject {
    private Integer subjectId;
    private Integer coachId;
    /**课时数例如20节 30节*/
    private Integer duration;
    /**学员人数*/
    private Integer number;
    private String subjectName;
    private String subjectPrice;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date startDate;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date endDate;
    String subjectPhoto;
}
